package org.jet.emall.common.constant;

import lombok.Getter;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-09 15:23
 */
public enum PrivilegeType {

    //菜单类型
    MENU((byte)1,"菜单"),
    //操作类型
    OPERATION((byte)2,"API操作");

    @Getter
    private Byte code;
    @Getter
    private String message;

    private PrivilegeType(Byte code,String message){
        this.code = code;
        this.message = message;
    }

}
